/*
 * @Author: only
 * @Date: 2025-03-06 16:56:15
 * @LastEditors: sueRimn
 * @LastEditTime: 2025-03-10 14:01:03
 */
import request from '@/utils/request'

// 查询抽调列表
export function vendorRequirementsList(data) {
  return request({
    url: '/vendor/sampling/requirements/list',
    method: 'post',
    data: data,

  })
}
// 获取待办企业列表
export function vendorRequirementsGetWaitList(data) {
  return request({
    url: '/vendor/sampling/requirements/get_wait_list',
    method: 'post',
    data: data
  })
}

// 新增抽调需求
export function vendorRequirementsAdd(data) {
  return request({
    url: '/vendor/sampling/requirements/add',
    method: 'post',
    data: data,
    ext:{
      loading:true
    }
  })
}


// 获取详细信息
export function vendorRequirementsGetInfo(data) {
  return request({
    url: '/vendor/sampling/requirements/get_info',
    method: 'post',
    data: data,
    ext:{
      loading:true
    }
  })
}

// 科室负责人审核
export function vendorRequirementsResponsibilityAudit(data) {
  return request({
    url: '/vendor/sampling/requirements/responsibility_audit',
    method: 'post',
    data: data,
    ext:{
      loading:true
    }
  })
}

// 经办人审核 （提交审核/撤回）
export function vendorRequirementsOperatorAudit(data) {
  return request({
    url: '/vendor/sampling/requirements/operator_audit',
    method: 'post',
    data: data,
    ext:{
      loading:true
    }
  })
}


// 更新
export function vendorRequirementsUpdate(data) {
  return request({
    url: '/vendor/sampling/requirements/update',
    method: 'post',
    data: data,
    ext:{
      loading:true
    }
  })
}

